package com.design.reactor.stretchIO._1_singleReactorSingleThread.impl.handler;

import java.nio.channels.SelectableChannel;
import java.nio.channels.SelectionKey;
import java.nio.channels.Selector;

/**
 * 处理事件的接口（接受事件，读写事件等）
 */
public interface Handler {
    public void handle(Selector selector , SelectableChannel channel, SelectionKey selectionKey) ;
}
